<template>
    <h2>这是我的第一个页面</h2>
<button @click="go">按钮跳转</button>
</template>

<script setup lang="ts">
import { useRouter } from 'vue-router'
const router = useRouter()
const go = () => {
    router.push('/StuShow')
}
</script>